@extends('home.jicheng')
@section('content')
<link type="text/css" rel="stylesheet" href="./public/css/alpha1.css" >
<link type="text/css" rel="stylesheet" href="./public/css/alpha2.css" >
<!--container start-->
<div id="container">
    <div class="w">    
        <div id="content">
            <div id="sub">
<div id="menu">
    <dl class="fore1">
        <dt id="_MYJD_setting">设置</dt>
        <dd class="fore1_1 curr" id="_MYJD_info">
            <a clstag="homepage|keycount|home2013|Homeyser" href="{{ url('home/user/userinfo') }}" target="_self">个人信息</a>
        </dd>
        <dd class="fore1_1 curr" id="_MYJD_info">
            <a clstag="homepage|keycount|home2013|Homeyser" href="{{ url('home/user/editpassword') }}" target="_self">修改密码</a>
        </dd>
        <dd class="fore1_2" id="_MYJD_safe">
            <a clstag="homepage|keycount|home2013|Homesafe" href="{{ url('home/user/userorder')}}" target="_self">我的订单</a>   
        </dd>                      <br><br> 已签到<font color="red" size="6" ></font>天<br>
                                    <a href="./index.php?c=user&a=qd"><input type="submit" value="点击签到"  name=""></a>
                                    <br><br><br>
                                    你总共有<br><br><font color="red" size="6" ></font><br>点积分<br><br>
                                    <a href="./index.php?c=user&a=cj"><input type="submit" value="点击抽奖"  name=""></a><br>
                                    每次消耗88点   
    </dl>
</div>
            </div>
            
            <div id="main">
                <div class="mod-main">
                    <div class="mt">
                        <ul class="extra-l">
                            <li class="fore-1"><a class="curr" href="https://i.jd.com/user/info">基本信息</a></li>   
                    @if (count($errors) > 0)
                        <div class="alert alert-danger">
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                        </ul>
                    </div>
                    @if(session('info'))
                        <span id='info' class="text-red">{{session('info')}}</span>
                    @endif
                    <form action="{{ url('/home/user/update') }}" method="POST" enctype="multipart/form-data">
                    {{ csrf_field() }}
                    <div class="mc">
                     @if (count($errors) > 0)
                        <div class="alert alert-danger">
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                        <div class="user-set userset-lcol">
                            <div class="form">
                                <div class="item">
                                    <span class="label"><em>*</em>原密码：</span>
                                    <div class="fl">
                                        <input clstag="homepage|keycount|home2013|infoname" type="password" class="itxt" maxlength="20" id="nickName" name="password" value="">
                                        <div class="clr"></div><div class="prompt-06"><span id="nickName_msg"></span></div>
                                    </div>
                                </div>
                                 <div class="item">
                                    <span class="label"><em>*</em>新密码：</span>
                                    <div class="fl">
                                        <input clstag="homepage|keycount|home2013|infoname" type="newpassword" class="itxt" maxlength="20" id="nickName" name="newpassword" value="">
                                        <div class="clr"></div><div class="prompt-06"><span id="nickName_msg"></span></div>
                                    </div>
                                </div>
                                <div class="item">
                                    <span class="label"><em>*</em>确认新密码：</span>
                                    <div class="fl">
                                        <input clstag="homepage|keycount|home2013|infoname" type="renewpassword" class="itxt" maxlength="20" id="nickName" name="renewpassword" value="">
                                        <div class="clr"></div><div class="prompt-06"><span id="nickName_msg"></span></div>
                                    </div>
                                </div>
                                <div class="item">
                                    <span class="label">&nbsp;</span>
                                    <div class="fl">
                                        <input type="submit" name='' onclick="return confirm('确认要修改吗?');"value='提交'>
                                    </div>
                                </div>
                            </div>
                        </div>         
                        <div class="clr"></div>
                    </div>
                    </form>
                    
                </div>
            </div>
        </div>
    </div>
</div>
<!--container end-->
  

@endsection('content')